1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


VI-37 This entry determines how many messages can be received simultaneously; the value is sent to remote connections. Increasing this value could increase performance of IPX messaging on high-bandwidth networks.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NwLnkIpx\Parameters
Value Name: WindowSize
Data Type: REG_DWORD
Value: 4

The value is the number of frames allocated for receiving SPX messages. The default value is 4; valid values range from 1 to 10.

VI-38 This value specifies how many messages can be received simultaneously; it is sent to remote connections. Increasing this value could increase performance of SPX messaging on high-bandwidth networks.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NwLnkSPX\Parameters
Value Name: WindowSize
Data Type: REG_DWORD
Value: 4

The value is the number of frames allocated for receiving SPX messages. The default value is 4. Valid values range from 1 to 11.

File System Performance

VI-39 This entry is the only performance-altering value related to file systems that you can control in the registry. By default, NTFS creates an MS-DOS-style “short file name” for every file created with a long file name; otherwise, these files won’t be recognized by Windows 3.1 and MS-DOS programs running on NT. NTFS must therefore track two names for these files, which can cause performance to degrade, particularly the performance of directory-related operations such as file look-ups.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\FileSystem
Value Name: NtfsDisable8dot3NameCreation
Data Type: REG_DWORD
Value: 0

The value determines whether short names are generated for long file names. A value of 0 means that NTFS generates short names; a value of 1 means that NTFS doesn’t generate the short names. If you don’t run any Windows 3.1 or MS-DOS programs on your system, you don’t need short file name compatibility; disable this value.

Printing Performance

VI-40 The print spooler thread is responsible for feeding data to printers. By default, it runs in the NORMAL_PRIORITY_CLASS, along with most of the other threads in a system. However, you can reduce this value, which may enhance the responsiveness of other more important applications such as the file system server (LanmanServer).

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\Print
Value Name: SpoolerPriority
Data Type: REG_DWORD
Value: 0x20

The value sets the class the print spooler thread runs in. The following three values are recognized; other values are ignored.

0x40 IDLE_PRIORITY_CLASS
0x20 NORMAL_PRIORITY_CLASS
0x80 HIGH_PRIORITY_CLASS

Registry Editor Performance

VI-41 Normally, when RegEdit processes a .reg file, it bring up a dialog box informing you that it added items to the registry. Using this feature is usually a good option, unless you want to add certain items automatically with a login script and you don’t want users to have to click OK to close the window every time they log on. Luckily, Microsoft has provided an undocumented parameter for RegEdit that bypasses this option: the /y parameter. Use it like this:

Regedit /y <regfile.reg>

Note that this change only affects Regedit.exe, not Regedt32.exe or Regedt.exe.


Previous Table of Contents Next